/*******************************************************************************
 * Copyright (c) 2010 Marcelo Cataldo, Sangeeth Nambiar
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * DepsGraphProperty.java
 * 
 * Defined a class to store a property of any object in the graph
 * Every property has a name, a type (data type) and the value
 *
 * Contributors:
 *    Marcelo Cataldo  - initial implementation 
 *    Sangeeth Nambiar - initial implementation
 *******************************************************************************/
package edu.cmu.isr.dinvenio.model;

public class DepsGraphProperty {
	/*
	 * 
	 */
	private String name;
	private String type;
	private String value;
	
	/*
	 * Constructors
	 */
	public DepsGraphProperty(String n, String t, String v) {
		name = n;
		type = t;
		value = v;
	}
	
	/*
	 * Basic Accessor methods
	 */
	public String getName()
	{
		return name;
	}
	public String getType()
	{
		return type;
	}
	public String getValue()
	{
		return value;
	}
	
	@Override
	public String toString() {
		
		return name + " : " + type + " = " +value;
	}

}
